﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Lm.Common.ExtensionMethods;

namespace Lm.Common.Auth.Config
{
    public class ConfigReader
    {
        public static string ConnectionString {
            get { return System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; }
        }

        public static int TokenExpireMinutes {
            get { return System.Configuration.ConfigurationManager.AppSettings["TokenExpireMinutes"].ToInt32(); }
        }
    }
}
